package com.goldgov.information.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.goldgov.information.dao.ArticleTagLinkDao;
import com.goldgov.information.service.ArticleTagLink;
import com.goldgov.information.service.ArticleTagLinkQuery;
import com.goldgov.information.service.ArticleTagLinkService;
@Service
public class ArticleTagLinkServiceImpl implements ArticleTagLinkService {

	@Autowired
	ArticleTagLinkDao articleTagLinkDao;

	@Override
	public void addArticleTagLink(ArticleTagLink link) {
		articleTagLinkDao.addArticleTagLink(link);
	}

	@Override
	public void deleteArticleTagLink(String articleID) {
		articleTagLinkDao.deleteArticleTagLink(articleID);
	}

	@Override
	public List<ArticleTagLink> findArticleTagList(ArticleTagLinkQuery query) {
		return articleTagLinkDao.findArticleTagList(query);
	}
	
	

}
